package homework_06.homework_06;

import homework_06.homework_05.Person;

/**
 *定义一个PersonCreate类：
 * 创建两个对象，分别是zhangsan，33岁，1.73；lishi，44，1.74 ，
 * 分别调用对象的sayHello()方法。
 */
public class PersonCreate {
    String name;
    int age;
    float height;

    public PersonCreate() {
    }

    public PersonCreate(String name, int age, float height) {
        this.name = name;
        this.age = age;
        this.height = height;
    }
    public void sayHello(){
        System.out.println("hello,my name is "+name);
    }

}
